package com.central.scheduler.plugin.task.datax;

import com.central.common.entity.ReaderParams;
import com.central.common.entity.WriterParams;
import com.central.common.model.ResourceInfo;
import com.central.scheduler.spi.enums.Flag;
import com.central.scheduler.spi.task.AbstractParameters;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.StringUtils;

import java.util.ArrayList;
import java.util.List;

/**
 * DataX parameter
 */
@Getter
@Setter
public class DataxParameters extends AbstractParameters {

    private ReaderParams reader;
    private WriterParams writer;
    private int speedChannel=1;
    private int speedByte=0;
    private int speedRecord=0;
    private int errorLimitRecord=0;
    private double errorLimitPercentage=0.0;


    @Override
    public boolean checkParameters() {
        return false;
    }

    @Override
    public List<ResourceInfo> getResourceFilesList() {
        return null;
    }
}
